﻿<section class="content-header">
    <div class="dropdown pull-right">
        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
            <i class="fa fa-plus"></i>
            New
            <span class="caret"></span>
        </button>
        <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
            <li ng-repeat="widget in widgetDefinitions">
                <a role="menuitem" ng-click="addNewWidget(widget)">{{widget.title}}</a>
            </li>
        </ul>
    </div>
    <button type="button" ng-click="onBuildClick()" class="btn btn-default pull-right">
        <i class="fa fa-download"></i>
        Build
    </button>
    <h1>
        <i class="fa fa-dashboard"></i> {{title}}
    </h1>
</section>

<section class="content">
    <ec-dashboard></ec-dashboard>
</section>